package cn.jd.org.domain;

import cn.jd.basic.domain.BasicDomain;
import cn.jd.system.domain.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BasicDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state=0;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;
    // 员工所在的部门
    private String name;
    private Department department;
    private String comfirmPassword;
    // 角色
    private Role role;
    private List<Long> roles;


}
